package com.team.mail.cart.feign;


import com.team.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.math.BigDecimal;
import java.util.List;


@FeignClient("mail-product")
public interface ProductFeignService {

    @RequestMapping("/product/skuinfo/info/{skuId}")
    R getSkuInfo(@PathVariable("skuId") Long skuId);


    @RequestMapping("/product/skusaleattrvalue/stringlist{skuId}")
     List<String> getSkuSaleAttrValues(@PathVariable("skuId") Long skuId);


    @RequestMapping("/product/skuinfo/{skuId}/price")
    R getPrice(@PathVariable("skuId") Long skuId) ;

}
